package com.wu.flandre.entity.table;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wu
 * @since 2019-12-14
 */
@TableName("UserInfo")
public class UserInfo extends Model<UserInfo> {

    private static final long serialVersionUID=1L;

    /**
     * 用户唯一主键
     */
    @TableId("UserID")
    private String UserID;

    /**
     * 用户昵称
     */
    @TableField("NickName")
    private String NickName;

    /**
     * 用户头像地址
     */
    @TableField("HeadImg")
    private String HeadImg;

    /**
     * 用户签名
     */
    @TableField("Sign")
    private String Sign;

    /**
     * 用户性别0保密1男2女
     */
    @TableField("Sex")
    private Integer Sex;

    /**
     * 用户修改资料时间
     */
    @TableField("UpdateTime")
    private LocalDateTime UpdateTime;

    /**
     * 用户经验值
     */
    @TableField("UserExp")
    private Integer UserExp;

    /**
     * 用户等级
     */
    @TableField("UserLeave")
    private Integer UserLeave;


    public String getUserID() {
        return UserID;
    }

    public void setUserID(String UserID) {
        this.UserID = UserID;
    }

    public String getNickName() {
        return NickName;
    }

    public void setNickName(String NickName) {
        this.NickName = NickName;
    }

    public String getHeadImg() {
        return HeadImg;
    }

    public void setHeadImg(String HeadImg) {
        this.HeadImg = HeadImg;
    }

    public String getSign() {
        return Sign;
    }

    public void setSign(String Sign) {
        this.Sign = Sign;
    }

    public Integer getSex() {
        return Sex;
    }

    public void setSex(Integer Sex) {
        this.Sex = Sex;
    }

    public LocalDateTime getUpdateTime() {
        return UpdateTime;
    }

    public void setUpdateTime(LocalDateTime UpdateTime) {
        this.UpdateTime = UpdateTime;
    }

    public Integer getUserExp() {
        return UserExp;
    }

    public void setUserExp(Integer UserExp) {
        this.UserExp = UserExp;
    }

    public Integer getUserLeave() {
        return UserLeave;
    }

    public void setUserLeave(Integer UserLeave) {
        this.UserLeave = UserLeave;
    }

    @Override
    protected Serializable pkVal() {
        return this.UserID;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
        "UserID=" + UserID +
        ", NickName=" + NickName +
        ", HeadImg=" + HeadImg +
        ", Sign=" + Sign +
        ", Sex=" + Sex +
        ", UpdateTime=" + UpdateTime +
        ", UserExp=" + UserExp +
        ", UserLeave=" + UserLeave +
        "}";
    }
}
